<exitmacro> : Exit Macro

This command stops macro execution.  If the macro is called using <run> command from other macro, also the calling macro is stopped.  The <exitmacro_soft> causes only the current macro execution is stopped - if the macro is called using <run> command the calling macro continues execution.

Syntax:

<exitmacro>
<exitmacro_soft>

Example:

<#> This macro shows how to use <exitmacro> command
<cmds>
<msg>(-100,-100,"Do you want to exit macro execution now?","Message",2)
<if_str>("_vMsgButton==YES")
<exitmacro>
<endif>
<msg>(-100,-100,"OK, macro execution continues then...","Message",1)